<%@ page language="java" import="java.util.*,cn.edu.nju.oraldefense.model.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%
	Teacher instance = new Teacher();
	if(session.getAttribute("teacher")!=null)	
		instance =(Teacher)session.getAttribute("teacher");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<link href="extjs/resources/css/ext-all.css" rel="stylesheet"
			type="text/css" />
		<link href="extjs/resources/css/xtheme-slate.css" rel="stylesheet"
			type="text/css" />
		<link href="common.css" rel="stylesheet"
			type="text/css" />
	</head>
	<body id="topBody">
	<span id = "logo"></span>
	<p id="loginInfo">您好！<%=instance.getName() %><教师></p>
	<a href= "logoutAction!teacherExecute" onclick="parent.location.href=''">注销</a>
	</body>
</html>
